$(window).load(function(){
	$("#sample-table-2>thead tr>th").attr("style","font-weight:bold;color:black;text-align:center");

	// table搜索样式
	$("#sample-table-2_filter label input").attr("placeholder","搜索(多条件搜索中间用空格隔开)").attr("style", "width:50%");
	$("#sample-table-2_filter label").attr("style", "width:100%");

	$("#sample-table-2_filter").attr("style", "margin-right: -16px;");
	$("#sample-table-2_wrapper .row").first().children().eq(1).attr("style","margin-top:-12px");
	$("#sample-table-2_wrapper").attr("style", "margin-top:-32px");
	$("#butadd").attr("style", "margin-top:-4px");

	// 增加表单行间距样式
	// $("div .modal-body .row:not(#iconr)").attr("style", "margin-top:-14px;");
	$("div .modal-body .row .col-sm-3").attr("style","margin-top:6px;text-align:right");
	$("div#myModal .modal-body .row i:lt(3)").attr("style","margin-top:9px;text-align:right;color:gray");

	//  显示页数一行的样式
	$("#sample-table-2").next().find(".col-sm-6").eq(0).attr("style","margin-left: -12px;margin-top: 5px;");
	$("#sample-table-2").next().find(".col-sm-6").eq(1).attr("style","margin-left: 12px;margin-top: 0px;");

	// 按钮样式
	$("button.btn.btn-sm:gt(0)").attr("style", "margin:-5px 0px 0px 4px");

	// 分页样式
	$(".dataTables_paginate.paging_bootstrap li>a i").parent().attr("style","height:31px");
			
	// 遮罩层div
	$("#bgdiv").attr("style", "display:none");
});